package com.mall.db.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mall.domain.CmsSubject;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface CmsSubjectMapper extends BaseMapper<CmsSubject> {

    /**
     * 获取全部商品专题
     * @return
     */
    @Select("select * from cms_subject;")
    List<CmsSubject> getAll();
}
